package face.pay.web.order.bo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;

/**
 * @author LiJiaJun
 * @version 1.0
 * @date 20-2-10 下午 06:37
 */
@Data
public class OrderInfoBO implements Serializable {

    @Excel(name = "订单编号")
    private Long id;

    /**
     * 门店ID
     */
    @Excel(name = "门店")
    private Integer storeId;

    /**
     * 交易金额
     */
    @Excel(name = "金额/元")
    private Double totalFee;

    /**
     * 实收金额
     */
    @Excel(name = "(实收)金额/元")
    private Double actFee ;

    /**
     * 实际应到 账金额  = 实收金额- serviceFee
     */
    @Excel(name = "(实到)金额/元")
    private Double actInnerFee;

    /**
     * 服务费
     */
    @Excel(name = "(服务费)金额/元")
    private Double serviceFee ;

    /**
     * 折扣或者优惠金额
     */
    @Excel(name = "(用户优惠)金额/元")
    private Double discountMoney;

    /**
     * WECHAT
     * ALIPAY
     */
    @Excel(name = "支付类型",replace = {"微信_WECHAT","支付宝_ALIPAY"," _null"})
    private String type;

    /**
     * FACE
     * SQR
     */
    @Excel(name = "支付方式",replace = {"刷脸_FACE","扫码_SQR","二维码_QRCODE"," _null"})
    private String payType;

    /**
     * 订单支付状态
     */
    @Excel(name = "状态", replace = {"付款成功_1","未付款_0","支付失败_-1","下单失败_-2","交易取消_-3","交易关闭_-4","转入退款_-5"})
    private Integer status;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间",format = "yyyy-MM-dd hh:mm:ss")
    private  String  createdTime;

}
